Fixing thrift config issue