fix bugs; add open ktj and tcpz;