Fix protocol error messages