problem with passing page_imgs