fixed up id in model.