remove debug code

and adding missing semicolon
may related to #129200
Merge pull request #129256 from mauk81/patch-2

remove debug code