fixed problem with non-ascii characters in keywords