deal with paths with spaces in