also check string length