sprintf fix for estimate_species_trait