Removed the automatic currentPage set