fix new upload link generation