[BUGFIX] dont reinitialize variable

Resolves: #52441
Change-Id: Id1fdcd72ed107a176d935fa2280c9b43e5663b08