fix keyword extraction