syntax error on s3 fixed