! fixing crash when the uri has a space