fix flex syntax error