fix registry ref