fix problem in endless scroll