bug fix in cmds/run_RBM.py