fixing reg_id of school