fix build of map