inspect the filter when displaying error messages