AVALANCHE: use nullptr for empty pointers