Fix undef data_type