Fix lastPage on makaba