error collection improvement