fixed bug where to high of inputs were entered and displayed