Corrected faulty variable name.