This can be due to a few reasons. If you did not refrigerate the dough and freeze the peanut butter filling, it will spread during the baking process. It is important that you do not skip these steps.