Fixed bug in dependency injection