fix paths for unit editing