Fix view for detail page