bug fix for filter exception