cleanup to generate