fixed XLCObjectCast