minor bug on T_SEMI placement