fix pull to refresh sample