Error message filter

don't need it anymore