fix fefi equations