bugfix: return CInterface properly