Black can capture gxf3 en passent.
En passant gxf3 (actually it takes pawn on f4), it's a quite strange rule but it's still a rule
It's alright. You just haven't played that many games