change for delete pattern