fix bug when filter_def.py is not exists