fixed the weight of the model endpoints