Fixed error with map not loading.