thin_repair