Before pouring the mixture into the pan, be sure to generously spray it with nonstick cooking spray or grease it with butter. Then, when you're ready to remove the rice krispie treats from the pan, you can gently run a knife around the edge of the pan, and they should pop right out.