A bug with finding next chunk