Fixed page count error