remove a piece of debug code