Fix variable name
Allow saving multiple ids