Fixed a broken variable or two.