fixed bug where input fields wouldnt work firefox and IE