fixed change_cmd.