fix function naming bug in s3 deployment