Fixed missing variable declaration.