small improvement to on rendering
forgot to commit old template delete