fixing detail page