refactor(config, consoke, key) rm unused vars