bug when parsing chunckSize