diff --git a/lib/contracts.js b/lib/contracts.js
index <HASH>..<HASH> 100644
--- a/lib/contracts.js
+++ b/lib/contracts.js
@@ -143,7 +143,7 @@ ContractsManager.prototype.build = function() {
 };
 
 ContractsManager.prototype.getContract = function(className) {
-  return this.compiledContracts[className];
+  return this.contracts[className];
 };
 
 ContractsManager.prototype.sortContracts = function(contractList) {
get contract from contract list, not compiled contracts