$url cannot be null by design