fix duplicate target definition in uri