resolve all relative paths