Correct variable definition errors.