fix COM register silent fail bug