fix map issue on detail view