backport kid templates because error with is_sysadmin variable