fix complement set processing