fix added handshake error