small fixes and i possibly fucked up the equation editor