Fix double usage of same variable name

Signed-off-by: Anton Kolesov <akolesov@synopsys.com>