clean out the dead code