removed redundent pointer in the chunk struct