make absolute paths relative