fixing thrift
final thrift fixes