fixed tcphandler