rm useless layers from map frames