solve problemes with spaces