Fixed ComPtr conversion error