fixed FromStr to use new namespace