Revert "anystate transitions"

This reverts commit 88d07d043f6e385d19d183e748d4f588f2423cb0.