correct the program