make sure resolved_uri is an object