fix strings with spaces