add filter to exceptions