changed patch for apps