clarified error filtering