fixed state on\off for chrome plug-in