align with thrift plugin