remove useless debug code