fix phantom checks