fixed bugs and lemmatizer