my pause menu not working

i made the p key as the open and close pause menu. here is the blueprint of the script.

the problem is for some reasin when i pressed the p key to close it it only unpause the game and not remove the pause menu.
i dont know how to give the video of this happening. im so stress right know pls help. im gonna go play minecraft

You’re creating a new Widget every time you press ‘P’.
Use Create Pausemenu Widget once in initialization then save the Return Value, remove this part from your InputAction Pause.

wow thx i just realize that it worked