Fixed error running program.