add message for missing query