problems with log-eqs fixed