limit the length of some inputs, like nickname