fix dipei count