fix adding new equations