Triple GEM performance in magnetic field