RNDT: fix for templates not defined