added invalid URI resolution