Fix equation bug.