removing image from the extra pages