Fixing firefox bugs.