Fix url not to be nil