Fix incorrect variable