repair for sqlpersonrepository