Fixed refresh issue.