fix the chunks