* exit preemptively for empty queries