Fix the bug that caused crash when publishing an IS object