Fixed variable references.