repaired relative path bug