Fixed Equation format.

This is the last of the UI mapping, fixed the equation format not
working correctly.