error path has not been regarded as function.
dive into 3.x compat: filter