handle phantom samples