fixed crash in map fragment