fixed problem with certain kind of string