Error improvement and clearing