Fixes wrong variable names

Signed-off-by: Markus Hubig <mhubig@gmail.com>