These bars do tend to stick in the pan if the pan is not well coated. I find smearing the pan with butter to be more effective than cooking spray. Parchment paper can be used as well.
Find it online: https://www.alisonsallspice.com/cranberry-date-protein-bars/