Fixed missing IDENT checking
Fixed some syntax errors