Error message filter

formatting