validate the length of the thumb label