fixed bug with wrapping input fields with red box