fixes filter order