fix feature2bin and loadCAteData