fix bug: ns redirect problem