bug fix for chrome plugin