fixes relative path.