make math pretty again (Fix #620)