cleanup old detail page