code cleanup on ConsoleListener and VoiceListener