Fixed pop_images