fix models config