(fix) fix bug on client doughnut directive