added an extra validation to avoid adding empty value to lookup values