Fixed a bug caused by new filter()