fixed firefox input box bug