Fixed bug in dependency