Fixed table crash bug