consistent semicolon use
remove dead code