Fixed the Firefox bug