remove debug code

and adding missing semicolon
may related to #129200