Fix Firefox compatible