restored dynamic AMI imageid