Fix command recognition