fixes source-directory paths.