was broken on non-Safari