Make sure to spray your cake pan generously with cooking spray before adding the brown sugar and almond topping. You can also line the bottom of the pan with parchment paper for added insurance to prevent sticking.