Firefox bug fix