Fixed bug related to multiple dependecies