fix too large page bug