fix for firefox browser.