casting total fields as strings