Fix the workflow of the program.