Fixed errors in Demo and ComparePCI function