check if we get NULL userdata
	for #16