handle no-template case