GDCM reader registering to the right factory