level generation fix