removed the plugin and added mutationObserver