reset on empty query