Fixed small bug on robot handshake.