fix for chrome extension