fix absolute paths to relative