diff --git a/substrate/core/authority-discovery/Cargo.toml b/substrate/core/authority-discovery/Cargo.toml
index ac7f8ac3685ee4daaa0a02cc3d1526d5cbb5bf55..cb24a43fdb280fe09bbe3e1eb1f7e48f14967e13 100644
--- a/substrate/core/authority-discovery/Cargo.toml
+++ b/substrate/core/authority-discovery/Cargo.toml
@@ -9,7 +9,7 @@ build = "build.rs"
 prost-build = "0.5"
 
 [dependencies]
-authority-discovery-primitives = { package = "substrate-authority-discovery-primitives", path = "./primitives", default-features = false }
+authority-discovery-primitives = { package = "substrate-authority-discovery-primitives", path = "./primitives" }
 bytes = "0.4"
 client = { package = "substrate-client", path = "../../core/client" }
 codec = { package = "parity-scale-codec", default-features = false, version = "1.0.3" }
diff --git a/substrate/node-template/src/service.rs b/substrate/node-template/src/service.rs
index 5b53a646d3e9620163e0634990596e1c8ab27834..e3c3c670a094d465945b15cf05e72cf1d8646a98 100644
--- a/substrate/node-template/src/service.rs
+++ b/substrate/node-template/src/service.rs
@@ -6,7 +6,7 @@ use substrate_client::LongestChain;
 use babe::{import_queue, start_babe, Config};
 use grandpa::{self, FinalityProofProvider as GrandpaFinalityProofProvider};
 use futures::prelude::*;
-use node_template_runtime::{self, GenesisConfig, opaque::Block, RuntimeApi, WASM_BINARY};
+use node_template_runtime::{self, GenesisConfig, opaque::Block, RuntimeApi};
 use substrate_service::{error::{Error as ServiceError}, AbstractService, Configuration, ServiceBuilder};
 use transaction_pool::{self, txpool::{Pool as TransactionPool}};
 use inherents::InherentDataProviders;