changed newMapAction behaviour