generation fix