Fix: unlabeled max resources, do not go over the limit