In Mark Thomson's Modern Particle Physics, page 152-153, writes the four-momenta of the particles involved in the $e^+e^-\rightarrow f\bar{f}$: $$p1=(E,0,0,+E)$$ $$p2=(E,0,0,-E)$$ $$p3=(E,+\beta E\sin\theta,0,+\beta E\cos\theta)$$ $$p4=(E,-+\beta E\sin\theta,0,-\beta E\cos\theta)$$
where $\beta=v/c$. For simplicity, assume natural units, so $c=1$. He further writes the following: $$\beta^2=\left(1-\frac{4m_f^2}{s}\right)$$ and I'm having trouble deducing this formula. So, in the CM frame, the available energy is $\sqrt{s}$ so each particle gets $\frac{\sqrt{s}}{2}$. Therefore, for a single fermion we should have $$\frac{\sqrt{s}}{2}=m_f+\frac{1}{2}m_f\beta^2$$, i.e, the kinetic energy plus the rest energy of the fermion. But after manipulation I get: $$\beta^2=\frac{\sqrt{s}}{2}\left(1-\frac{2m}{\sqrt{s}}\right)$$ Where am I wrong?