discard zero queries