fix check for aws_ping vars