[BUGFIX]

Template constants are declared twice and override individual configuration

fixes: #59902