fIx paths with spaces and dashes