fixing stuff that broke on removing ir.List