fixed loc library bartMachine bug