switch absolute path to relative