fixed redirection issue (#209)

-- always redirect to api interface