fixing stopwords issue that would blank all terms