Corected Nullpointer

Accidentially returned nullinstead of Variable