Fixed plugin_loaded issue

Fixed the missing settings when plugin_loaded issue