fix thrift commit