This happens if the dough is too warm. If you have trouble folding the chocolate chips into the dough, just tuck them into the dough before you pinch it closed.  A little bit of oozing chocolate after baking is normal and to be expected.