Fixed math problem.