Improve the map by drop the useless