fix for softDeletingTrait