debugging route switch problems