return b;
   }
 
-  // TODO: maybe changes could be done to this method to show "empty"
-  // instead of a piece to not use a pocket piece...
-//  getPPpath(b) { }
-
   static IsGoodFen(fen) {
     if (!ChessRules.IsGoodFen(fen)) return false;
     const fenParsed = V.ParseFen(fen);
               }
               shift = (m.appear[0].p == V.NOTHING ? 1 : 0);
               if (
-                m.appear.length >= 2 &&
+                m.appear.length >= 2 + shift &&
                 m.vanish.length == 2 &&
                 ![m.appear[shift].y, m.appear[shift+1].y].includes(m.vanish[1].y)
               ) {
 
       Math.abs(epSquare.y - y) == 1
     ) {
       let enpassantMove = this.getBasicMove([x, y], [epSquare.x, epSquare.y]);
-      const oppCol = V.GetOppCol(color);
+      const oppCol = V.GetOppCol(this.turn);
       enpassantMove.vanish.push({
         x: x,
         y: epSquare.y,
 
       st: store.state
     };
   },
+  mounted: function() {
+    document.getElementById("prefixFilter").focus();
+  },
   computed: {
     filteredVariants: function() {
       const capitalizedPrefix = this.curPrefix.replace(/^\w/, c =>