Fix post page refresh issue.