currentPage not in correct format 0