Fix crash on type call on Ubuntu
Fix crash on type call on Ubuntu

sky-xu/deepdive,HazyResearch/deepdive,HazyResearch/deepdive,HazyResearch/deepdive,shahin/deepdive,sky-xu/deepdive,HazyResearch/deepdive,shahin/deepdive