Fix for chrome v6-v9