fixed way that attributes are read into version registration process