fixed bug with map not showing.