allow null for uri