change paths to spaces