Fixed infinity problem.