fix syntax error in push to s3 code