error handling on cfilter