Further error fixing on creatfilter