Added Zero devisor fail-safe