Fixed stat problem.