revert detail view function