(c) Fix actor ids and weights.