fix improper/useless String::from_str calls