reduce unnecessary empty filter