bug: N template formatting fix