Fix incorrect variable pull