Improved the layout of the input boxes