fix detail view