pop all states before moving to a new state
release 1.0.2