Fix silly mistakes with program main.