fix: null reference in filter