cleanup of virtPok for midterm patch