replace all string.IsNullOrEmpty with string.IsNullOrWhiteSpace