fixing for WebKit