fix can not detect correctly that thire is no next page