tried to fix bug with spaces again