ender 5 S1 endstop x still triggered

hi, getting error " endstop X still triggered after retract "
i have replaced the top switch unit ( see pic )


i couldnt find a replacement switch setup for the bottom one, so i desoldered a new microswitch and put it on the old circuit board.
still get the exact same error.
any thing else to check ?