fixes bug coming in page_detail