fix input fields