add NoRedirection function