correct errors on delete link