Fixed Firefox bug