type repair