How to get rid of map?