a couple of minor changes and fixes at IMportUniRef class