trying to solve plugin reloading issue