Fix EOS patch.