before changing the tilemap empty and adding null