improved how min cat attributes is used