import thrift solved