Fix Crash; don't access pointers before checking them for NULL