image_pages fix