bug: Zero division fixed