fixed signal timing in state machine.