Fixes for detail view