change the check of anything in the queue from empty string to empty array