cmd_anal_fcn bug fixed