Fix the bug of refresh detail page.