fixes #13 add thrift api remove operation