fixes issues
Automatic routing.