fixing firefox bugs