fix massupload.php to correctly populate data_type field