remove some nodes from map