change relative path to absolute path