fixing the chunks issue