re#36 fixed a bug when calling CCOM