attempted model data max bugfix