removed leading ":" from commands with pattern matching