fix pluginhost created without dbh