Trying to fix isse with the recreation of the map