fix the client too many child bug