fix bad chunk