updated cofh and made a fix for inap