Resizing the input fiels