fix for map not rendering