8 Years Ago
fixed possible divide by zero