fixing 2-page overflow