Fix for next().