added fix for input boxes on firefox