fix print_image