dont get url if s3 key is undefined