ref resolve