Removing duplicate to_string