COFH core update

Fixes crashes.