light: fix bad cleanup dependencies