Firefox and Blank input bug fix