Street fighter Te S help

I just opened up my new Te S. Straight out of the box my X button sometimes does double inputs and sometimes doesn’t register at all. Is it something that I am doing wrong or is my arcade stick messed up? Can you tell me how to fix it if it is messed up or something?

Maybe loose connection, if not swap x button with others on fightstick to see if the x button is defective. Could be that the micro switch and tab in pushbutton is faulty.