bug fix in new bias-filter code