Bug fix for txtCmdParser reach mode_error