fix for map loader