build reference fix