If your bars fell apart, ensure you used a gluten-free flour blend with a binder like a xanthan, guar gum, or psyllium husk binder. It is also important for the bars to be chilled so that they firm up and hold together.