changed to support hbase 0.98.x