fixed relative paths handling