Fix to self.refname