Remove useless debug code