Fix incomplete variable rename