fixed the map model