I am trying to derive the following result (formula 3.7a from the book "Basic Concepts of String Theory") $$\langle X^\mu_L(\bar{z})\, X^\nu_L(\bar{w}) \rangle = \frac{1}{4}\alpha'\eta^{\mu\nu}\ln\bar{z} -\frac{1}{2}\alpha'\eta^{\mu\nu}\ln(\bar{z}-\bar{w}) \quad(1) $$ where $\bar{z} = e^{2\pi i(\tau +\sigma)/l}$ and $\bar{w} = e^{2\pi i(\tau' +\sigma')/l}$ with $(\tau,\sigma)\sim(\tau,\sigma + l)$ parametrizing the closed string world sheet.
The propagator is defined as: $$\langle X^\mu(\tau, \sigma)\, X^\nu(\tau',\sigma') \rangle = \mathcal{T}[X^\mu(\tau, \sigma)\, X^\nu(\tau',\sigma')] - :X^\mu(\tau, \sigma)\, X^\nu(\tau',\sigma'):\quad (2)$$ where $\mathcal{T}[\dots]$ denotes time-ordering and $:\dots:$ denotes normal-ordering.
I'm trying to derive (1) from the following mode expansion $$X^\mu_L(\tau+\sigma)=\frac{1}{2}x^\mu + \frac{\pi\alpha'}{l}p^\mu(\tau+\sigma)+i\sqrt{\frac{\alpha'}{2}}\sum_{n>0} \left(\frac{1}{n}\bar{\alpha}^\mu_n e^{-\frac{2\pi}{l} in(\tau+\sigma)} -\frac{1}{n}(\bar{\alpha}^\mu_n)^\dagger e^{\frac{2\pi}{l} in(\tau+\sigma)} \right) \quad(3) $$ with the commutation relation \begin{align} [\bar{\alpha}^\mu_m, (\bar{\alpha}^\nu_n)^\dagger] &= m\delta_{m,n}\eta^{\mu\nu}, \quad (m,n > 0)\\ [x^\mu, p^\nu] &= i\eta^{\mu\nu} \end{align} and we define $:p^\nu x^\mu:=x^\mu p^\nu$.
From the definition (2) and using (3) with the commutation relations, I was able to show that for $\tau > \tau'$, \begin{align} \langle X^\mu_L(\bar{z})\, X^\nu_L(\bar{w}) \rangle &= -i\frac{\pi\alpha'}{2l}\eta^{\mu\nu}(\tau+\sigma) + \frac{\alpha'}{2}\eta^{\mu\nu}\sum_{n>0}\frac{1}{n}\frac{\bar{w}^n}{\bar{z}^n} \\ &=\frac{1}{4}\alpha'\eta^{\mu\nu}\ln\bar{z} -\frac{1}{2}\alpha'\eta^{\mu\nu}\ln(\bar{z}-\bar{w}) \end{align} which agrees with (1). But the same derivation would lead to that for $\tau <\tau'$, $$\langle X^\mu_L(\bar{z})\, X^\nu_L(\bar{w}) \rangle = \frac{1}{4}\alpha'\eta^{\mu\nu}\ln\bar{w} -\frac{1}{2}\alpha'\eta^{\mu\nu}\ln(\bar{w}-\bar{z})$$
I wonder if there is any subtlety in my derivation which I have neglected or what would be the correct way to derive (1) from the expansion (3).