fix refresh input on firefox