patch for name-link in App mode