fix ModifiedAndRemoved rule