Cleanup hack around chrome.