fix ConsoleHelper and unmarshal