Fixed refresh error.