fix for filter behavior