fix redirect, use the new routing

fix for issue #1737