soft delete behavior fix