do not throw error on invalid uri - return undefined instead