modify the cat fiter error handler