Fixed parse_chunks.