small bugfix for spaced paths