Fix of wrong variable usage.

Signed-off-by: Benoit Sigoure <tsunanet@gmail.com>