add limitation of input fields