Fixed missing reference to global variables.

Signed-off-by: Alexander Kastius <alexander.kastius@student.hpi.uni-potsdam.de>