bug fix for return s3 url on uploads