var ref from data, bit fix