re-fix some equation formatting