fixed notice in filter code