Fixed a bug that cause the plugin not found