extract `dep`  from `merge`