repaired borders