return an empty array when dependencie is undefined