This is caused by mixing fresh raspberries into the cookie dough and can be avoided by: - Using fresh raspberries that you freeze yourself, and by - Gently pressing the raspberries into the cookies instead of mixing them into the dough