support filter for node.Fixes #367.