style fix and clean up

we use TA's semanticAnalysis and symbolTable code here