Remove unused state of state machine