remove deprecated from_str() calls