fixed command.py mismatch handler