correct the style of input field