Fix bug when there is no alert on the map