correct display of map in detail view.