fixed another bug in the page split code