fixed AlCommandsProcessor to detect a failed commad