I am proving $TS^1$ is diffeomorphic to $S^1\times\mathbb{R}$. The following is my proof and I think it is wrong, because I only use the fact that $S^1$ is 1-dimentional. However, I do not know how to correct my proof. ($S^1$ is the unit circle).
For any $p\in S^1$, we can choose a chart $(U,\varphi)$ around it. Therefore, every $p\in S^1$ is associated with a vector $v_p^0=\frac{\partial}{\partial x}|_p$ if a chart is given.
Now, a function $F$ from $S^1\times\mathbb{R}$ to $TS^1$ is defined by $$F(p,\lambda)=(p,\lambda v_p^0)$$
I want to show that $F$ is a diffeomorphism.
Clearly, $F$ is injective. For any $(p,v)\in TS^1$, we have $$v=v^1\frac{\partial}{\partial x}|_p$$ $$v_p^0=v_p^{0,1}\frac{\partial}{\partial x}|_p$$ under some chart around $p$.
Therefore, we choose $\lambda=v^1/v_p^{0,1}$. $\lambda$ should be independet of choice of charts. Therefore, $F$ is also surjective.
Now choose two charts $(U\times\mathbb{R},\varphi\times i)$ and $(\pi^{-1}(U),\tilde{\varphi})$ for $S^1\times\mathbb{R}$ and $TS^1$, respectively. The expression of $F$ is \begin{align*} \hat{F}(q,x)&=\tilde{\varphi}\circ F\circ(\varphi\times i)^{-1}(q,x)\\ &=\tilde{\varphi}\circ F(p,x)\\ &=\tilde{\varphi}(p,xv_p^0)\\ &=(q,xv_p^{0,1}) \end{align*} $\hat{F}$ is smooth, since $v_p^{0,1}$ is smooth with respect to $p$.
For $F^{-1}$, my proof to show that it is smooth is similar. Therefore, $F$ is diffeomorphism.
However, I do not use any specific property of $S^1$ except that $S^1$ is 1-dimentional. Is my proof correct? If not, how to correct it?
Thanks!