Fix that lessens the possibility of ending on a blank page