They do take some getting perfect when on cork or anything like that - with both solenoid & turnout straight onto the baseboard are usually better. I too found they tend to lift off so after trial and error, I have the end where the wires come out, a bit higher than the tiebar end & also slightly leaning in towards the turnout as also suggested by HLT 0109 Harold. And of course have to have both turnout tiebar and solenoid operating lever, perfectly in line.