Fixed issue with auto routing.