Fix Phare errors