fix nextpage