Fixes routing.