Fix to list_images with image[] initialization