Fixed duplicate messages in console and telnet