added support for router in failsafe-mode