check for null in name string