setting some custom template but not working