Accuracy feedback flashing before routine starts

Hey, I’m trying to create a simple IAT experiment where I try to make the feedback displayed in the screen right after they press the given key. for example if they are supposed to press x and they do so, an ✓ icon will appear.

I am using this code to achieve this.

It works in the first routine however, when it comes to the second routine a random feedback flashes on the screen and then the routine begins. How can I fix this problem?
Thank you so much for your concern.

Hi There,

is your accuracy feedback in a separate routine to your trial? if so you should be able to move the code from the each frame tab to the begin routine tab.