change invalidMovesRequest and sendchat handler