fix the plugin map reload