fixed a bug of the structureless generator never using uppercase letters