local routing auto-fixes templates after activate