Fix firefox support