Corrected variables ordering (model.variables)