remove unexpected transitions