fixed extra object.keys call

this extra object.keys call was making the dependancies numbers as opposed to real dependancies