remove thrift syntax