detect incomplete subs