temp patch for bug edges duplication