Switch to setResolvedUrl