I think i've found another bug
http://replay.pokemonshowdown.com/gen7ou-578281372
in this replay my opponent opens with dugtrio and i lead with gengar. gengar in this generation only has cursed body as an ability, levitate is gone.
however, dugtrio has arena trap, which should trap the grounded...