Prove that every holomorphic function $f$ on the closed disk $\overline{D}(0,1)$ with $|f(z)|<1$ when $z\in \overline{D}(0,1)$ has at least one fixed point in $D(0,1)$.
My attempt:
Since $f$ is holomorphic on $\mathbb{D}$, $f$ is either constant or attains its maximum on boundary.
If $f$ is constant, we finish.
If $f$ is not constant, then $f$ attains its maximum on $\partial\mathbb{D}$.
According to Maximum modulus principle, we have $$|f(z)|\leq |f(z_0)|\quad\forall z\in\mathbb{D}\quad (\text{for some }|z_0|=1).$$
I don't know how to continue. I haven't used the hypothesis $|f(z)|<1\quad\forall z\in\overline{D}(0,1)$.
Could someone have any idea how to solve this problem?