Fix protocol error