change some code to fix hbase 0.95.1