handled empty dependecies case.