fixed map layer removal