fixing paths to support spaces