equation fix