I have a Beretta 948 22lr that has a issue. It has slam fired once, so far, when releasing the slide on a filled mag. Several times it has "auto" fired while shooting.

I'm guessing I have a firing pin that is staying exposed during the slide cycle. I'm sure those are not the correct terms. But anyways Do y'all have any ideas on how to resolve this problem?