fix models module