fix many pages bug