Fix command patterns