fix bug(internal redirect was broken)