fixing max characters