try to fix relative paths