fix communication error on a remote AMI