added status message for empty query