added number of symbols maximum error msg