light: fix bad cleanup dependency