avoid by zero division in avg_children processing