add dependency in patch-auto