Remove extra id's