hacky fix because filters were being applied twice for some reason