Overcooking the almond dough tends to make the dough super dry. And then the dough starts to fall apart. Add some water and cook till the mixture is back to the consistency that is spreadable and not very wet or dry.