fix routes error

Signed-off-by: Chris Lusted <kipl20@hotmail.com>