fixing route generate template