fixing wrong template on router genereation