fix plugin load failure