fixed recursion error in uploadS3();