remove some lines of debug code