fix models for deploy