delete redundant dependencies