corrected delete-action