Fixing submodels attributes