Check the url when setting, not when building a path.