fix school and cert. migration