fixing things to generate