Fix nullptr compat for dash