remove old debug code