bug fix for next() without a string