Bars that are too crumbly may not have been pressed firmly enough in the baking pan before baking. To prevent this, make sure to press down firmly with a metal spatula or cover the entire pan with parchment paper and use another sheet pan to compress the mixture. You should also cut them while they are still warm. This will make them much easier to cut and less likely to crumble.