fix equations