fixed problem of spaces in folderpaths