changing display of wpdb data to ensure the script can access the soilsextension tables