fix requirement name length logic typo