homogenizing _ref in Library