fixed off by one error in pagination and spelling mistake in current page accessor in previous