fix variable duplicate for test