Fix data_type undef warning