Attempts to clean up the map