name reference fix