Fix bug when strings contains whitespace.