Suppose wave function $\psi=\psi(\vec{r},t)$ satisfies Klein-Gordon-Foch equation $$\square\psi=-m^2\psi.$$ Also suppose initial conditions $\psi_0=\psi(\vec{r},0)$ and $\psi_{t0}=(\partial_t\psi)(\vec{r},0)$
Let us try to find function $\psi$ using all of the conditions above. We know plane wave solutions of the KGF equation $\psi=Ae^{i\vec{p}\vec{r}-iEt}$ where momenta satisfies $E^2=p^2+m^2.$
Decomposing the function $\psi_0$ into initial waves using Fourier transform
$F(\psi_0)=\frac{1}{(\sqrt{2\pi})^3}\int d^3r\,\psi_0e^{-i\vec{p}\vec{r}}$
The Fourier transform gives us amplitude of every wave, so $\psi$ could be defined for positive or negative energy as
$\psi=F^{-1}(F(\psi_0)e^{i\vec{p}\vec{r}-iEt})=\frac{1}{(\sqrt{2\pi})^3}\int d^3p\,e^{i\vec{p}\vec{r}-iEt}F(\psi_0)$
Substituting $F(\psi_0)$
$\psi=\frac{1}{(2\pi)^3}\int d^3p\,d^3r'\,e^{i\vec{p}(\vec{r}-\vec{r}')-iEt} \,\psi_0(\vec{r}')$
I am not sure if this solution is correct and if it is not, please tell me where I have made mistake. And I am not sure about the fact, that $\psi_{t0}$ is not used in the solution.
Where was the mistake made and why don't I have a time derivative dependent solution?