Fixed nextOffset