Fixed IDL generation issue

Fixed the IDL generation issue reported in #3