fix for chrome manifest update and logic bug