clean the map before return it