Fixed problem with gaps in 2 page mode