fixed bug keyword empty in getDictionary(keyword)