some fix for chunk start offset, chunk size