fix currentPage property