fix specify image type when calling image_ec2_id