change absolute path to relative