fix bug preventing list of ids