remove thrift