Lex $X_1, X_2 \sim U(0, \theta)$ i.i.d , then obviously the sufficient statistic would be $T = \max\{X_1, X_2\}$, which can be easily proven by factorization theorem. However, I try to compute the density $f(x_1, x_2\mid t)$, which turns out to depend on the parameter $\theta$. This absolutely contradicts the definition of sufficient statistic:
$$ f(x_1, x_2, t) = \frac 1 {\theta^2}I\{t\leq \theta, \max\{x_1, x_2\}=t\} $$
$$ f(t) = \frac{2t}{\theta^2}I\{t \leq \theta\} $$
Thus
$$ f(x_1, x_2\mid t) = \frac 1 {2t} I\{t\leq \theta\} $$
which depends on $\theta$ through the indicator function $I\{t\leq \theta\}$.
What's wrong with my reasoning? Thanks a lot!