Last week, on the 16th, John S kindly simulated my circuit and posted the LT Spice netlist. It worked as expected. He subsequently added the phase shifter, with values, and posted that netlist too. Then I suggested a different pair of R and C values that also nailed the phase shift, but used less line current. It was all friendly and productive, and it's all in this thread. You are daring me to post stuff that was posted days ago.
It's a cute, simple circuit. Feel free to use it.
But why can't you fix your own circuit? What's the pullup value for the LM339? What comparator did you use in the sim you posted?
Oh, how much power does your circuit dissipate?