changed maps fragment to stop crash