fix error in triggerPullToRefresh