Bug fix for chrome.