fix filter glitchy output. add more quality levels