Fixing safari bug.