make filter work better