fix currentpage===0