Routing and reddirection fixes

Signed-off-by: Arief M Utama <arief.utama@gmail.com>