fixes for cloudwatch api calls