added redirection after registry