fix generate words