Solved divide by zero bug.