Fix pause and state issues