main: cmd_raw fix bug