Fix program.
Fix a few errors.