remove commented, unused or otherwise dead code