fix for set() method in ConsoleCommands