add two patch for ui