try to merge, but lack chunklist.h