Loop fix for summer sale

no supports up to 500 pages