path fix for getCommands