fix a bug about the pull refresh plugin