Fixing firefox problems