Missed initialization of an important variable.