item check for empty string instead of array