filter cannot be static object