fixes relative paths