drawmap initialisation fix