fix multi error problem