trying value === '' instead of value === undefined