keep lenght of type string