LS: remove old debug code