Fixed the code bug "undefined chunk_size"