accept empty strings as values in validation