complete first iteration of detaching