fixed routing propagation in template