Add more debug in plugin.