fix bugs of activateFilter