added error message when filter fails