Fix ids.