fixed multi page size document issue