demo 2 reference fix