fixing unwanted page break