found bug (cast exception). Going to create new Serializtor for telnet