Fixing issue with amazon AWS url path