fixed validation of the field value as an empty string