Remove some wrong debug code