fix input issue in FF