fixed filter removing if filter matched