log and exp eqs fixed