remove dup entries for deps