fix for url generation for sqs endpoints