changed HTML comment
debug should be False, removed dead code