fix for delete action