Fixed error in option name
Protect against division by zero