Page model: Removing unnecessary spaces