fixing longjmps in filters