fixed next()