Fix xap97 parents and weights