Fixed error with pages being set to 0