fixed deleted_at problem