remove inverts from dit