Local variable fixes

Signed-off-by: Vince Montalbano <vince.montalbano@gmail.com>