fix webkit core switch