Fix nextdata bug, #97