Fix Nullpointer derp

Signed-off-by: Andre Schweiger <andre.spiele@yahoo.de>