Fixing Chrome bug