fix tsm redirects