word generation fix