Corrected initial currentpage