taking out the superfluous contactids