fixed live/on issue in plugin