Correcting deletion pattern