remove all not-completely-fatal errors