Fixed a refreshing issue.