fix content script bug