Fixed reference to variable which was removed.