Fix an error with template rendering!