fix big potential refresh bug