fix relative stuff to cwd