Fixed Firefox incompatibility