rebuild the program