Undo some changes (sendEncoding)