make sure the taken hooks are sreserved by correcting the list