recover and add internal url mode