crude check for null data