finish of detail page