fix missing Nullpointer check