fix and generate success