Fix same state transition error