text filter ignores undefined