invalid command error is considered in class Analyzer