Fix repeat dependency error.