handshake sync was not saving state properly