remove dead code from Lantern