fixed bug if filters are not defined