LPS-45876 Missing replacement of global template