Fix remote reference