add error in triggerPullToRefresh