avoid errors with deleted variants